#define _CRT_SECURE_NO_WARNINGS 1
#include <stdio.h>

int main()
{
	int i = 0;
	int j = 1;
	int a = 0;
	for (i = 1;i < 10;i++)
	{
		j -= i;
		for (j = 1;j <= i;j++)
		{
			a = i * j;
			printf("%d*%d=%d ",j,i,a);
		}
		printf("\n");
	}
	return 0;
}
